/* -------------------------------------------------------- antd -- */
import { Popconfirm } from 'antd'
/* -------------------------------------------------------- 按钮上的提示 -- */
const Index = ({ children, title, onConfirm }) => (
	<span onClick={e=>e.stopPropagation()}>
		<Popconfirm
			title			= { title } 
			onConfirm		= { onConfirm }
		>
				{children}
			</Popconfirm>
	</span>
)

export default Index